package com.laizhenghua.hotel.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.laizhenghua.hotel.entity.ApplyEntity;
import com.laizhenghua.hotel.utils.PageUtils;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author laizhenghua
 * @email 3299447929@qq.com
 * @date 2021-03-11 15:23:22
 */
public interface ApplyService extends IService<ApplyEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<ApplyEntity> getListByHouseId(int id);

    void saveByUserNameAndTel(Map<String, Object> params, String username, String tel);

    ApplyEntity getOneByTelAndUsername(String tel, String username);


}

